﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlanningPoker
{
	public class ResultClosed : Result
	{
		public ResultClosed(IEnumerable<CardInfo> cards)
		{
			foreach (var card in cards)
			{
				this.cards.Add(new CardInfo(card.Player, "*"));
			}
		}

		private List<CardInfo> cards = new List<CardInfo>();

		CardInfo[] Result.Cards
		{
			get { return cards.ToArray(); }
		}
	}
}
